package com.iuie.ns.datum.vo;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 用户消费记录
 * @author liujie
 * @date 2018年4月6日下午1:29:22
 */
public class UserExpenseInfoVO implements Serializable {

	public static final long serialVersionUID = -1522992515529L;

	private String id; // ID
	
	private String recommend; // 推荐系数

	private String productName; // 商品名称

	private Double productAmount; // 商品金额

	private Double consumeAmount; // 消费金额

	@JsonFormat(pattern="yyyy-MM-dd")
	private Date consumeTime; // 消费时间

	private String consumeChannel; // 消费渠道

	private String consumeType; // 消费类型

	private String consumeAddress; // 消费地点

	private String isCountTime; // 是否计时商品

	@JsonFormat(pattern="yyyy-MM-dd")
	private Date endCountTime; // 废弃时间

	private String isInstalment; // 是否分期商品

	private Integer installNum; // 分期期数

	private Double mthRepayAmount; // 月还款金额

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime; // 创建时间

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime; // 修改时间

	private String userId; // 用户ID

	private String userName; // 用户姓名
	
	private String remark; // 备注
	
	private Double minConsumeAmount; // 查询消费金额-小
	
	private Double maxConsumeAmount; // 查询消费金额-大
	
	private String searchConsumeTime; // 查询-消费时间-yyyy-MM
	
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date firstRepayDate; // 首次还款日

	private Integer mthRepayDate; // 月还款日

	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getProductName() {
		return this.productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Double getProductAmount() {
		return this.productAmount;
	}
	public void setProductAmount(Double productAmount) {
		this.productAmount = productAmount;
	}
	public Double getConsumeAmount() {
		return this.consumeAmount;
	}
	public void setConsumeAmount(Double consumeAmount) {
		this.consumeAmount = consumeAmount;
	}
	public Date getConsumeTime() {
		return this.consumeTime;
	}
	public void setConsumeTime(Date consumeTime) {
		this.consumeTime = consumeTime;
	}
	public String getConsumeChannel() {
		return this.consumeChannel;
	}
	public void setConsumeChannel(String consumeChannel) {
		this.consumeChannel = consumeChannel;
	}
	public String getConsumeType() {
		return this.consumeType;
	}
	public void setConsumeType(String consumeType) {
		this.consumeType = consumeType;
	}
	public String getConsumeAddress() {
		return this.consumeAddress;
	}
	public void setConsumeAddress(String consumeAddress) {
		this.consumeAddress = consumeAddress;
	}
	public String getIsCountTime() {
		return this.isCountTime;
	}
	public void setIsCountTime(String isCountTime) {
		this.isCountTime = isCountTime;
	}
	public Date getEndCountTime() {
		return this.endCountTime;
	}
	public void setEndCountTime(Date endCountTime) {
		this.endCountTime = endCountTime;
	}
	public String getIsInstalment() {
		return this.isInstalment;
	}
	public void setIsInstalment(String isInstalment) {
		this.isInstalment = isInstalment;
	}
	public Integer getInstallNum() {
		return this.installNum;
	}
	public void setInstallNum(Integer installNum) {
		this.installNum = installNum;
	}
	public Double getMthRepayAmount() {
		return this.mthRepayAmount;
	}
	public void setMthRepayAmount(Double mthRepayAmount) {
		this.mthRepayAmount = mthRepayAmount;
	}
	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getUserId() {
		return this.userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return this.userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRecommend() {
		return recommend;
	}
	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}
	public Double getMinConsumeAmount() {
		return minConsumeAmount;
	}
	public void setMinConsumeAmount(Double minConsumeAmount) {
		this.minConsumeAmount = minConsumeAmount;
	}
	public Double getMaxConsumeAmount() {
		return maxConsumeAmount;
	}
	public void setMaxConsumeAmount(Double maxConsumeAmount) {
		this.maxConsumeAmount = maxConsumeAmount;
	}
	public String getSearchConsumeTime() {
		return searchConsumeTime;
	}
	public void setSearchConsumeTime(String searchConsumeTime) {
		this.searchConsumeTime = searchConsumeTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getMthRepayDate() {
		return this.mthRepayDate;
	}
	public void setMthRepayDate(Integer mthRepayDate) {
		this.mthRepayDate = mthRepayDate;
	}
	public Date getFirstRepayDate() {
		return this.firstRepayDate;
	}
	public void setFirstRepayDate(Date firstRepayDate) {
		this.firstRepayDate = firstRepayDate;
	}
	
	@Override
	public String toString() {
		return "UserExpenseInfoVO [id=" + id + ", recommend=" + recommend + ", productName=" + productName + ", productAmount=" + productAmount + ", consumeAmount="
				+ consumeAmount + ", consumeTime=" + consumeTime + ", consumeChannel=" + consumeChannel + ", consumeType=" + consumeType + ", consumeAddress=" + consumeAddress
				+ ", isCountTime=" + isCountTime + ", endCountTime=" + endCountTime + ", isInstalment=" + isInstalment + ", installNum=" + installNum + ", mthRepayAmount="
				+ mthRepayAmount + ", createTime=" + createTime + ", updateTime=" + updateTime + ", userId=" + userId + ", userName=" + userName + ", remark=" + remark
				+ ", minConsumeAmount=" + minConsumeAmount + ", maxConsumeAmount=" + maxConsumeAmount + ", searchConsumeTime=" + searchConsumeTime + ", firstRepayDate="
				+ firstRepayDate + ", mthRepayDate=" + mthRepayDate + "]";
	}
	
}